<extend name="Layout/base" />
<block name="css">
<link rel="stylesheet" href="/Public/blog/css/common.css?v={:C('URL_VERSION')}" type="text/css">
<link rel="stylesheet" href="/Public/blog/css/main.css?v={:C('URL_VERSION')}" type="text/css">
<link rel="stylesheet" href="/Public/blog/css/slick.css?v={:C('URL_VERSION')}" type="text/css">
<link rel="stylesheet" href="/Public/blog/css/font-awesome.min.css?v={:C('URL_VERSION')}" type="text/css">
<style>
	@media (max-width: 980px){
	.container{padding-top:66px;}
	}
</style>
</block>
<block name="main">
			<!--body-->			
			<div class="kUi_content">
				<div class="row warp">
					<div class="mod-tab">
						<a href="/">
							<p>精选</p>
						</a>
						<a href="{:U('writer/listauthor')}">
							<p class="noborder">大咖</p>
						</a>
					</div>
					<div class="blog-main">
						<!-- banner-->
						<div class="KUi_banner">
							<div class="slick">
								<?php foreach($adsInfo['banner_list'] as $ad1):?>
								<div>
									<a href="{$ad1.link}" target="_blank" title="{$ad1.title}">
										<img alt="{$ad1.title}" title="{$ad1.title}" src="{$ad1.pic|get_cover='path'}" >
									</a>
									<span> <a href="{$ad1.link}" target="_blank" title="{$ad1.title}">{$ad1.title}</a> </span> 
								</div>
								<?php endforeach;?>
							</div>
							<div class="thumbs">
								<?php foreach($adsInfo['banner_icon'] as $ad2):?>
								<div class="thumb">
									<a href="{$ad2.link}" class="img" target="_blank">
										<img alt="{$ad2.title}" src="{$ad2.pic|get_cover='path'}" style="width:auto;height: 100%;opacity:1;">
										<span class="bg"></span>
										<p class="title">{$ad2.title}</p>
									</a>
								</div>
								<?php endforeach;?>
							</div>
						</div>
						<!-- banner -->
						<div class="KUi_news">
							<div class="title">
								<h3>最新发布</h3>
							</div>
							<div class="articebox">
								<ul>
									<include file="Index/indexajax" />  
								</ul>
								<div class="ias_trigger"></div>
							</div>
						</div>
					</div>
					<!-- 右侧 -->
					<div class="blog-sidebar">
						<div class="mod log-recommend">
							<div class="bd">
								<ul class="ulist">
									<?php foreach($adsInfo['fund_recommend'] as $ad3):?>
									<li class="fb">
										<a href="{$ad3.link}" class="imgbox"><img src="{$ad3.pic|get_cover='path'}" alt="{$ad3.title}"></a>
										<p class="title">{$ad3.title}</p>
									</li>
									<?php endforeach;?>
								</ul>
							</div>
						</div>
						{:W('Writer/getRecentlogin')}
						{:W('Writer/getactive')}
						<!-- 
						暂时隐藏以下功能，勿删

						<div class="mod sub_ads widget"><a href="#"><img src="/Public/blog/images/cc.png"></a></div>
						<div class="mod widget widget_ui_tags">
							<h3>热门标签<span class="w_title">TOP TAGS</span></h3>
							<div class="items">
								<a href="#">滑</a>
								<a href="#">灯</a>
								<a href="#">昨天</a>
								<a href="#">创投</a>
								<a href="#">创业</a>
								<a href="#">百家更新</a>
							</div>
						</div> -->

						{:W('Hotnews/gethotnews')}
						<!-- start 文章排行 -->
						{:W('Hotnews/getrank')}
						<!-- end 文章排行 -->
						<!-- start links -->
						{:W('Link/linkside')}
						<!-- END links -->
					</div>
					<!-- 右侧 -->
				</div>
			</div>
</block>